package com.uubx.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Id;
import java.util.Date;
@ApiModel(description = "FeedBack数据")
public class FeedBack {
    /**
     * 反馈信息Id
     */
    @Id
    @ApiModelProperty(value = "反馈信息Id",hidden =true)
    private Long id;
    /**
     * 反馈时间
     */
    @DateTimeFormat(pattern="yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty("反馈时间")
    private Date createtime;
    /**
     *问题类型
     */
    @ApiModelProperty("问题类型")
    private String category;
    /**
     * 提出者
     */
    @ApiModelProperty("提出者")
    private String presenter;
    /**
     * 反馈信息
     */
    @ApiModelProperty("反馈信息")
    private String suggest;
    /**
     * 联系方式
     */
    @ApiModelProperty("联系方式")
    private String phone;
    /**
     * 处理状态
     */
    @ApiModelProperty("处理状态")
    private String status;
    /**
     * 处理结果
     */
    @ApiModelProperty("处理结果")
    private String resultcontent;

    public FeedBack() {
    }

    public FeedBack(Long id, Date createtime, String category, String presenter, String suggest, String phone, String status, String resultcontent) {
        this.id = id;
        this.createtime = createtime;
        this.category = category;
        this.presenter = presenter;
        this.suggest = suggest;
        this.phone = phone;
        this.status = status;
        this.resultcontent = resultcontent;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getPresenter() {
        return presenter;
    }

    public void setPresenter(String presenter) {
        this.presenter = presenter;
    }

    public String getSuggest() {
        return suggest;
    }

    public void setSuggest(String suggest) {
        this.suggest = suggest;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getResultcontent() {
        return resultcontent;
    }

    public void setResultcontent(String resultcontent) {
        this.resultcontent = resultcontent;
    }

    @Override
    public String toString() {
        return "FeedBack{" +
                "id=" + id +
                ", createtime=" + createtime +
                ", category='" + category + '\'' +
                ", presenter='" + presenter + '\'' +
                ", suggest='" + suggest + '\'' +
                ", phone='" + phone + '\'' +
                ", status='" + status + '\'' +
                ", resultcontent='" + resultcontent + '\'' +
                '}';
    }
}
